package cn.edu.cqupt.service;

import cn.edu.cqupt.po.CheckInInfo;
import cn.edu.cqupt.po.ForRoom;
import cn.edu.cqupt.po.Owner;
import cn.edu.cqupt.po.RelatedFile;
import cn.edu.cqupt.po.Room;
import cn.edu.cqupt.po.RoomInfoList;

import java.util.List;

/**
 * @author Andrew
 * @date 2018/5/26
 */
public interface OwnerService {
    boolean checkIn(CheckInInfo checkInInfo);

    Room getRoom(Integer roomId);

    boolean saveRoom(Room room);

    Owner getOwner(Integer ownerId);

    boolean saveOwner(Owner owner);

    List<RelatedFile> getRoomFiles(Integer roomId);

    List<RoomInfoList> getAllInfo(ForRoom forRoom);
}
